import * as echarts from 'echarts'
import './1.css'
const a = require('./123')
import img from './1.jpg'


document.querySelector('.b').style.background = `url(${img})`

console.log(a);
;((function () {
    var chartDom = document.getElementById('main')
    var myChart = echarts.init(chartDom)
    var option = {
      xAxis: {
        type: 'category',
        data: ['星期一', '星期二', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
      },
      color:'#90b',
      yAxis: {
        type: 'value'
      },
      series: [
        {
          data: [150, 230, 224, 218, 135, 147, 260],
          type: 'line'
        }
      ]
    }
    option && myChart.setOption(option)
  })())